package com.pulse.base.service;

import com.pulse.base.domain.UserTestParam;

public interface IUserTestParamService {

    /**
     * 根据设备编号和端口查询
     * @param deviceNo
     * @param channel
     * @return
     */
    UserTestParam getTestParam(String deviceNo, Integer channel);

    /**
     * 新增
     * @param userTestParam
     * @return
     */
    int insertUserTestParam(UserTestParam userTestParam);

    /**
     * 修改
     * @param userTestParam
     * @return
     */
    int updateUserTestParam(UserTestParam userTestParam);

    /**
     * 根号设备编号删除
     * @param deviceNo
     * @return
     */
    int deleteByDeviceNo(String deviceNo);
}
